
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">

   <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li ><a href="${Domain}my/question/list/${question.type}"><#if question.type=0>判断</#if><#if question.type=1>单选</#if><#if question.type=2>多选</#if><#if question.type=3>填空</#if><#if question.type=4>自填</#if></a></li>
						  <li class="am-active">预览</li>
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
</div>
  <div class="row-content am-cf">
  
  

          <div class="row">

                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl">${question.name}</div>
                                
                            </div>
                            <div class="widget-body am-fr">

                                <form class="am-form tpl-form-line-form"   id="iask" >
                                    
                                 
                                   
                               
                                   
                          			<div class="am-form-group">
                                      <#if question.tag??&&question.tag!="">【${question.tag}】</#if>
                                      	 ${question.title}
                                        <div class="am-u-sm-12">
                                               <#switch question.type>
										           <#case 0> 
										           <label class="am-radio am-danger" style="margin-top: 10px;">
												      <input type="radio" name="value" value="1" data-am-ucheck <#if question.value==1>checked</#if>>是
												    </label>
												    <label class="am-radio am-danger" style="margin-top: 10px;">
												      <input type="radio" name="value" value="0" data-am-ucheck <#if question.value==0>checked</#if>>否
												    </label>
													<#break>
										           <#case 1>
										            <#list list as item>
										             <label class="am-radio am-danger" style="margin-top: 10px;">
												      <input type="radio" name="value" value="${item.value}" data-am-ucheck <#if question.value==item.value>checked</#if>>${item.name}
												    </label>
										             </#list>
													<#break>
										           <#case 2>
										            <#list list as item>
										             <label class="am-checkbox am-danger" style="margin-top: 10px;">
												      <input type="checkbox" name="values" value="${item.value}" data-am-ucheck <#if question.value==item.value>checked</#if>>${item.name}
												    </label>
										             </#list>
													<#break>
										           <#case 3>
										           
										           <#list list as item>									    
													    <div class="am-u-sm-4">
													      <input type="number" value="${question.value}" name="value" >
													    </div>
													    <div  class="am-u-sm-8">${item.name}</div>
										           </#list>
                                                      
													<#break>
										           <#case 4>
										            <div class="am-u-sm-12">
													      <input type="text" value="" name="description" >
													    </div>
													<#break>
										           <#default>
										           
										       </#switch>
											
											  
                                        </div>
                                    </div>
                                   
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
        
         
        
            
   </div>
</div>        

<#include "footer.ftl">